package com.erp.bean;

/**
 * @author zch
 * 角色实体类
 */
public class Role {

    /**
     * 角色编号
     */
    private int rid;

    /**
     * 角色名称
     */
    private String rname;



    @Override
    public String toString() {
        return "Role{" +
                "rid=" + rid +
                ", rname='" + rname + '\'' +
                '}';
    }

    public Role() {
    }

    public Role(int rid) {
        this.rid = rid;
    }


    public Role(int rid, String rname) {
        this.rid = rid;
        this.rname = rname;
    }

    public Role(String rname) {
        this.rname = rname;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public String getRname() {
        return rname;
    }

    public void setRanme(String rname) {
        this.rname = rname;
    }
}
